<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8"/>
	<meta name="viewport"
				content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
	<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
	<title>Jodit Tests </title>
	<script>
		if (!location.host.match(/localhost/)) {
			document.write(
				'<' + 'link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/5.1.1/mocha.min.css" />' +
				'<' + 'script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/6.2.2/mocha.min.js"><' + '/script>' +
				'<' + 'script src="https://cdnjs.cloudflare.com/ajax/libs/chai/4.2.0/chai.min.js"><' + '/script>'
			);
		} else {
			document.write(
				'<' + 'link rel="stylesheet" href="../node_modules/mocha/mocha.css" />' +
				'<' + 'script src="../node_modules/mocha/mocha.js"><' + '/script>' +
				'<' + 'script src="../node_modules/chai/chai.js"><' + '/script>' +
				'<' + 'script src="../node_modules/synchronous-promise/index.js"><' + '/script>'
			);
		}
	</script>

</head>
<body>
<div id="mocha"></div>

<script>
	mocha.setup({
		ui: 'bdd',
		bail: true,
		fullTrace: true,
		inlineDiffs: true
	});

	mocha.reporter('html');
</script>

<link rel="stylesheet" href="../app.css"/>
<link rel="stylesheet" href="../build/jodit.css"/>
<script src="../build/jodit.js"></script>

<script src="bootstrap.js"></script>

<script src="tests/units/styleTest.js"></script>
<script src="tests/units/popupTest.js"></script>
<script src="tests/units/objectObserverTest.js"></script>
<script src="tests/units/helpersTest.js"></script>
<script src="tests/units/positionTest.js"></script>

<script src="tests/acceptance/editorTest.js"></script>
<script src="tests/acceptance/creatorTest.js"></script>
<script src="tests/acceptance/domTest.js"></script>
<script src="tests/acceptance/selectionTest.js"></script>
<script src="tests/acceptance/eventsTest.js"></script>
<script src="tests/acceptance/toolbarTest.js"></script>
<script src="tests/acceptance/interfaceTest.js"></script>
<script src="tests/acceptance/enterTest.js"></script>
<script src="tests/acceptance/deleteBackSpaceTest.js"></script>
<script src="tests/acceptance/commandsTest.js"></script>
<script src="tests/acceptance/tableTest.js"></script>
<script src="tests/acceptance/undoredoTest.js"></script>
<script src="tests/acceptance/plugins/source.js"></script>
<script src="tests/acceptance/filebrowserTest.js"></script>
<script src="tests/acceptance/uploaderTest.js"></script>
<script src="tests/acceptance/imageTest.js"></script>
<script src="tests/acceptance/dialogTest.js"></script>
<script src="tests/acceptance/pluginsTest.js"></script>
<script src="tests/acceptance/plugins/resizer.js"></script>
<script src="tests/acceptance/plugins/insert.js"></script>
<script src="tests/acceptance/plugins/tooltip.js"></script>
<script src="tests/acceptance/plugins/inline-popup.js"></script>
<script src="tests/acceptance/plugins/color.js"></script>
<script src="tests/acceptance/plugins/wrapTextNodes.js"></script>
<script src="tests/acceptance/plugins/font.js"></script>
<script src="tests/acceptance/plugins/orderedList.js"></script>
<script src="tests/acceptance/plugins/placeholder.js"></script>
<script src="tests/acceptance/plugins/cleanHtml.js"></script>
<script src="tests/acceptance/plugins/limit.js"></script>
<script src="tests/acceptance/plugins/link.js"></script>
<script src="tests/acceptance/plugins/dragAndDropElement.js"></script>
<script src="tests/acceptance/plugins/size.js"></script>
<script src="tests/acceptance/plugins/search.js"></script>
<script src="tests/acceptance/plugins/stat.js"></script>
<script src="tests/acceptance/plugins/image.js"></script>
<script src="tests/acceptance/plugins/indent.js"></script>
<script src="tests/acceptance/mobileTest.js"></script>
<script src="tests/acceptance/iframeTest.js"></script>
<script src="tests/acceptance/clipboardTest.js"></script>
<script src="tests/acceptance/inlineModeTest.js"></script>
<script src="tests/acceptance/i18nTest.js"></script>
<script src="tests/acceptance/statesTest.js"></script>
<script>
	window.onload = function() {
			mocha.run();
	};
</script>
</body>
</html>
